package cn.piesat.vo.role;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 角色绑定菜单参数
 * @author zyp
 * @date 2021/3/8
 */
public class AuthorizeMenuVO {
    @NotBlank(message = "角色ID不能为空")
    private String roleId;
    private List<String> menuList;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public List<String> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<String> menuList) {
        this.menuList = menuList;
    }

    @Override
    public String toString() {
        return "AuthorizeMenuVO{" +
                "roleId='" + roleId + '\'' +
                ", menuList=" + menuList +
                '}';
    }
}
